<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>pkaction</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="polkit Reference Manual">
<link rel="up" href="manpages.html" title="Part VI. Manual Pages">
<link rel="prev" href="pkcheck.1.html" title="pkcheck">
<link rel="next" href="pkexec.1.html" title="pkexec">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
<td><a accesskey="p" href="pkcheck.1.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="manpages.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">polkit Reference Manual</th>
<td><a accesskey="n" href="pkexec.1.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="pkaction.1"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle">pkaction</span></h2>
<p>pkaction — Get details about a registered action</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<div class="cmdsynopsis"><p><code class="command">pkaction</code>  [<code class="option">--version</code>] [<code class="option">--help</code>]</p></div>
<div class="cmdsynopsis"><p><code class="command">pkaction</code>  [ 
          <code class="option">--verbose</code>
         ]</p></div>
<div class="cmdsynopsis"><p><code class="command">pkaction</code>   
        <code class="option">--action-id</code>
        <em class="replaceable"><code>action</code></em>
        [ 
          <code class="option">--verbose</code>
         ]</p></div>
</div>
<div class="refsect1">
<a name="pkaction-description"></a><h2>DESCRIPTION</h2>
<p>
      <span class="command"><strong>pkaction</strong></span> is used to obtain information about registered
      PolicyKit actions. If called with <code class="option">--action-id</code> then all
      actions are displayed. Otherwise the action <em class="replaceable"><code>action</code></em>.
      If called without the <code class="option">--verbose</code> option only the name
      of the action is shown. Otherwise details about the actions are shown.
    </p>
</div>
<div class="refsect1">
<a name="pkaction-return-values"></a><h2>RETURN VALUE</h2>
<p>
      On success <span class="command"><strong>pkaction</strong></span> returns 0. Otherwise a
      non-zero value is returned and a diagnostic message is printed
      on standard error.
    </p>
</div>
<div class="refsect1">
<a name="pkaction-author"></a><h2>AUTHOR</h2>
<p>
      Written by David Zeuthen <code class="email">&lt;<a class="email" href="mailto:davidz@redhat.com">davidz@redhat.com</a>&gt;</code> with
      a lot of help from many others.
    </p>
</div>
<div class="refsect1">
<a name="pkaction-bugs"></a><h2>BUGS</h2>
<p>
      Please send bug reports to either the distribution or the
      polkit-devel mailing list,
      see the link <a class="ulink" href="http://lists.freedesktop.org/mailman/listinfo/polkit-devel" target="_top">http://lists.freedesktop.org/mailman/listinfo/polkit-devel</a>
      on how to subscribe.
    </p>
</div>
<div class="refsect1">
<a name="pkaction-see-also"></a><h2>SEE ALSO</h2>
<p>
      <span class="citerefentry"><span class="refentrytitle">polkit</span>(8)</span>,
      <span class="citerefentry"><span class="refentrytitle">pkcheck</span>(1)</span>,
      <span class="citerefentry"><span class="refentrytitle">pkexec</span>(1)</span>,
      <span class="citerefentry"><span class="refentrytitle">pkttyagent</span>(1)</span>
    </p>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>